-- *********************************************************************
-- CISCO-FC-SPAN-MIB.my: Cisco FC SPAN MIB
--
-- December 2002, Charuhas Ghatge
--
-- Copyright (c) 2002 by cisco Systems, Inc.
-- All rights reserved.
--
-- *********************************************************************CISCO-FC-SPAN-MIB DEFINITIONS::=BEGINIMPORTSMODULE-IDENTITY,OBJECT-TYPE,Integer32,Unsigned32FROM SNMPv2-SMI
MODULE-COMPLIANCE,OBJECT-GROUPFROM SNMPv2-CONF
RowStatus,TEXTUAL-CONVENTIONFROM SNMPv2-TC
SnmpAdminStringFROM SNMP-FRAMEWORK-MIB
InterfaceIndexFROM IF-MIB
FcList FROM CISCO-ZS-MIB
ciscoMgmt FROM CISCO-SMI;ciscoFcSpanMIB MODULE-IDENTITYLAST-UPDATED"200304090000Z"ORGANIZATION"Cisco Systems Inc. "CONTACT-INFO"Cisco Systems
Postal: 170 W Tasman Drive
San Jose, CA 95134
USA
Tel: +1 800 553 -NETS
E-mail: cs-san@cisco.com"DESCRIPTION"MIB module for displaying and configuring
Switched Port Analyzer(SPAN) related features
in a Fibre Channel device.
SPAN is a feature that enables the user to analyze
network traffic, passing through the ports (called
SPAN source ports) in a switched network using
SwitchProbe device attached to a switch port called
SPAN destination (SD) port. SPAN feature is non-
intrusive and does not affect switching of network
traffic for any of the source ports."REVISION"200304090000Z"DESCRIPTION"Initial version of this MIB module."::={ ciscoMgmt 363}ciscoSpanMIBObjects
OBJECTIDENTIFIER::={ ciscoFcSpanMIB 1}cspanConfiguration
OBJECTIDENTIFIER::={ ciscoSpanMIBObjects 1}
-- Textual ConventionSessionIndex ::=TEXTUAL-CONVENTIONSTATUScurrentDESCRIPTION"An arbitrary value which identifies a session. "SYNTAXUnsigned32(1..4095)-- The SPAN Session TablecspanMaxSessions OBJECT-TYPESYNTAXInteger32(1..4095)MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"Maximum number of SPAN sessions that this device supports."::={ cspanConfiguration 1}
cspanSessionTable OBJECT-TYPESYNTAXSEQUENCEOF CspanSessionEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"cspanSessionTable is a table that lets the user configure
and monitor the SPAN sessions.
A SPAN session represents an association of one destination
port with traffic redirected from different interfaces and
VSANs (Virtual Storage Area Networks).
In most situations, there would be only one active session.
The flexibility to configure multiple sessions is helpful
in sharing the analyzer that is attached to the SPAN
destination port. In other words, the user can configure
multiple sessions, but only one is active.
However, it is possible to have multiple session active at
a given time. The traffic on the SPAN destination port is
the result of the combination of the active sessions."::={ cspanConfiguration 2}
cspanSessionEntry OBJECT-TYPESYNTAX CspanSessionEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A SPAN session entry. Each session consists of
session number, session Administrative Status
session OperationStatus, session InactiveReason (if the
session OperationStatus is Inactive) and a rowStatus object
to add/delete sessions.
cspanSessionIndex is the Index of this table that identifies
a session.
To Add a session:
1. Specify the session to be added (cspanSessionIndex)
2. Set the cspanSessionRowStatus to createAndGo (4).
To Delete a session:
1. Specify the session to be deleted (cspanSessionIndex).
2. Set the cspanSessionRowStatus to destroy (6).
"INDEX{ cspanSessionIndex }
::={ cspanSessionTable 1}
CspanSessionEntry ::=SEQUENCE{
cspanSessionIndex SessionIndex,
cspanSessionDestIfIndex InterfaceIndex,
cspanSessionAdminStatus INTEGER,
cspanSessionOperStatus INTEGER,
cspanSessionInactiveReason SnmpAdminString,
cspanSessionRowStatus RowStatus}cspanSessionIndex OBJECT-TYPESYNTAX SessionIndex
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An arbitrary value which identifies a session.
The value of this index must be less than the value
of cspanMaxSessions."::={ cspanSessionEntry 1}cspanSessionDestIfIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSread-createSTATUScurrentDESCRIPTION"The ifIndex of the destination port to be configured
for the session specified by the instance of
cspanSessionIndex."::={ cspanSessionEntry 2}cspanSessionAdminStatus OBJECT-TYPESYNTAXINTEGER{active(1),inactive(2)
}MAX-ACCESSread-createSTATUScurrentDESCRIPTION"This object is used to suspend an active session
or activate an inactive session.
Note that setting the value to the existing value
has no effect on the operation. i.e. setting the
value to 'active' when session is 'active' has no
effect."::={ cspanSessionEntry 3}cspanSessionOperStatus OBJECT-TYPESYNTAXINTEGER{active(1),inactive(2)
}MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The current state of the session. "::={ cspanSessionEntry 4}cspanSessionInactiveReason OBJECT-TYPESYNTAXSnmpAdminStringMAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The description of the reason that this session
is not active. This string will be a zero length
string in case the session is active."::={ cspanSessionEntry 5}cspanSessionRowStatus OBJECT-TYPESYNTAXRowStatus
MAX-ACCESSread-createSTATUScurrentDESCRIPTION"Status of this row."::={ cspanSessionEntry 6}-- Session Source Interface TablecspanSourcesIfTable OBJECT-TYPESYNTAXSEQUENCEOF CspanSourcesIfEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"The cspanSourcesIfTable is used to configure source
interfaces for SPAN sessions."::={ cspanConfiguration 3}cspanSourcesIfEntry OBJECT-TYPESYNTAX CspanSourcesIfEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A SPAN source interface entry. Each entry consists of
session index, interface index of the source interface,
the ingress or egress direction of the traffic on that
interface and a rowStatus object"INDEX{
cspanSessionIndex,
cspanSourcesIfIndex,
cspanSourcesDirection
}::={ cspanSourcesIfTable 1}
CspanSourcesIfEntry ::=SEQUENCE{
cspanSourcesIfIndex InterfaceIndex,
cspanSourcesDirection INTEGER,
cspanSourcesRowStatus RowStatus
}cspanSourcesIfIndex OBJECT-TYPESYNTAXInterfaceIndexMAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"cspanSourcesIfIndex denotes the interface index for
this session."::={ cspanSourcesIfEntry 1}cspanSourcesDirection OBJECT-TYPESYNTAXINTEGER{receive(1),transmit(2)}MAX-ACCESSnot-accessibleSTATUScurrent
DESCRIPTION"cspanSourcesDirection denotes traffic direction on
the cspanSourcesIfIndex."::={ cspanSourcesIfEntry 2}cspanSourcesRowStatus OBJECT-TYPESYNTAXRowStatusMAX-ACCESSread-createSTATUScurrentDESCRIPTION"Status of this row."::={ cspanSourcesIfEntry 3}-- Session Source VSAN TablecspanSourcesVsanTable OBJECT-TYPESYNTAXSEQUENCEOF CspanSourcesVsanEntry
MAX-ACCESSnot-accessibleSTATUScurrent
DESCRIPTION"The cspanSourcesVsanTable is used to list source
VSANs for SPAN sessions."::={ cspanConfiguration 4}cspanSourcesVsanEntry OBJECT-TYPESYNTAX CspanSourcesVsanEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry in the Source VSAN Table.
For the session identified by the instance
of cspanSessionIndex, it lists the VSANs
that comprise the sources."INDEX{ cspanSessionIndex }::={ cspanSourcesVsanTable 1}
CspanSourcesVsanEntry ::=SEQUENCE{
cspanSourcesVsans2k FcList,
cspanSourcesVsans4k FcList
}cspanSourcesVsans2k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The VSANs that are traffic sources to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 1 through 8, the second octet specifying VSAN 9
through 16, etc. Since there are 256 octets, the range
of VSANs is from 0-2047. Within each octet, the most
significant bit represents the lowest numbered VSAN id
and the least significant bit represents the highest
numbered VSAN id. Thus each VSAN is represented by a
single bit within the value of this object. If that bit
has value '1' then that VSAN is included in the set of
VSANs; the VSAN is not included if its bit has a
value of '0'.
"::={ cspanSourcesVsanEntry 1}cspanSourcesVsans4k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 2048 through 2055, the second octet specifying VSAN
2056 through 2063, etc. Since there are 256 octets,
he range of VSANs is from 2048 through 4095.
Within each octet, the most significant
bit represents the lowest numbered VSAN id and the least
significant bit represents the highest numbered VSAN id.
Thus each VSAN is represented by a single bit within the
value of this object. If that bit has value '1' then
that VSAN is included in the set of VSANs; the VSAN is
not included if its bit has a value of '0'."::={ cspanSourcesVsanEntry 2}-- Session Source VSAN Configuration TablecspanSourcesVsanCfgTable OBJECT-TYPESYNTAXSEQUENCEOF CspanSourcesVsanCfgEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"The cspanSourcesVsanCfgTable is used to configure sources
VSANs for SPAN sessions.
"::={ cspanConfiguration 5}cspanSourcesVsanCfgEntry OBJECT-TYPESYNTAX CspanSourcesVsanCfgEntry
MAX-ACCESSnot-accessible
STATUScurrentDESCRIPTION"An entry in the source Vsan Configuration Table.
Each entry represents either an add or a delete
VSANs operation for the session identified by the
instance of cspanSourcesVsanCfgSessIndex.
The VSANs to be added (or deleted) are specified by
the values of cspanSourcesVsanCfgVsans2k and
cspanSourcesVsanCfgVsans4k."INDEX{ cspanSourcesVsanCfgSessIndex }::={ cspanSourcesVsanCfgTable 1}
CspanSourcesVsanCfgEntry ::=SEQUENCE{
cspanSourcesVsanCfgSessIndex SessionIndex,
cspanSourcesVsanCfgCommand INTEGER,
cspanSourcesVsanCfgVsans2k FcList,
cspanSourcesVsanCfgVsans4k FcList
}cspanSourcesVsanCfgSessIndex OBJECT-TYPESYNTAX SessionIndex
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A session index associated with a session for which
the VSANs are to be added/deleted. "::={ cspanSourcesVsanCfgEntry 1}cspanSourcesVsanCfgCommand OBJECT-TYPESYNTAXINTEGER{add(1),remove(2),none(3)
}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The command to be executed for this entry.
Only acceptable commands are 'add' and 'remove'.
'none' is returned in case of read operation."::={ cspanSourcesVsanCfgEntry 2}cspanSourcesVsanCfgVsans2k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 1 through 8, the second octet specifying VSAN 9
through 16, etc. Since there are 256 octets, the range
of VSANs is from 0-2047. Within each octet, the most
significant bit represents the lowest numbered VSAN id
and the least significant bit represents the highest
numbered VSAN id. Thus each VSAN is represented by a
single bit within the value of this object.
If that bit has value '1' then that VSAN is included
in the set of VSANs; the VSAN is not included if
its bit has a value of '0'."::={ cspanSourcesVsanCfgEntry 3}cspanSourcesVsanCfgVsans4k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 2048 through 2055, the second octet specifying VSAN
2056 through 2063, etc.
The range of VSANs is 2048-4095.
Within each octet, the most significant
bit represents the lowest numbered VSAN id and the least
significant bit represents the highest numbered VSAN id.
Thus each VSAN is represented by a single bit within the
value of this object. If that bit has value '1' then
that VSAN is included in the set of VSANs; the VSAN is
not included if its bit has a value of '0'."::={ cspanSourcesVsanCfgEntry 4}-- Session VSAN Filter TablecspanVsanFilterTable OBJECT-TYPESYNTAXSEQUENCEOF CspanVsanFilterEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"The cspanVsanFilterTable is used to monitor and
configure VSAN filters for SPAN sessions.
cspanVsanFilterSessIndex denotes the session index of
this sesion.
cspanVsanFilterVsans2k and cspanVsanFilterVsans4k denote
the VSANs in a bit mask fashion for each session.
"::={ cspanConfiguration 6}cspanVsanFilterEntry OBJECT-TYPESYNTAX CspanVsanFilterEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry in the VsanFilter Table.
cspanVsanFilterVsans2k and
cspanVsanFilterVsans4k denote the VSANs that
are part of the filter applied to the session
identified by the instance of cspanVsanFilterSessIndex."INDEX{ cspanVsanFilterSessIndex }::={ cspanVsanFilterTable 1}
CspanVsanFilterEntry ::=
SEQUENCE{
cspanVsanFilterSessIndex SessionIndex,
cspanVsanFilterVsans2k FcList,
cspanVsanFilterVsans4k FcList
}cspanVsanFilterSessIndex OBJECT-TYPESYNTAX SessionIndex
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A session index associated with a session. "::={ cspanVsanFilterEntry 1}cspanVsanFilterVsans2k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION
"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 1 through 8, the second octet specifying VSAN 9
through 16, etc. Since there are 256 octets, the range
of VSANs is from 0-2047. Within each octet, the most
significant bit represents the lowest numbered VSAN id
and the least significant bit represents the highest
numbered VSAN id. Thus each VSAN is represented by a single
bit within the value of this object. If that bit has value
'1' then that VSAN is included in the set of VSANs; the
VSAN is not included if its bit has a value of '0'."::={ cspanVsanFilterEntry 2}cspanVsanFilterVsans4k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-onlySTATUScurrentDESCRIPTION
"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 2048 through 2055, the second octet specifying VSAN
2056 through 2063, etc. the range of VSANs is 2048-4095.
Within each octet, the most significant bit represents
the lowest numbered VSAN id and the least significant
bit represents the highest numbered VSAN id. Thus
each VSAN is represented by a single bit within the
value of this object. If that bit has value '1' then
that VSAN is included in the set of VSANs; the VSAN is
not included if its bit has a value of '0'."::={ cspanVsanFilterEntry 3}-- Session VSAN Filter Operations TablecspanVsanFilterOpTable OBJECT-TYPESYNTAXSEQUENCEOF CspanVsanFilterOpEntry
MAX-ACCESSnot-accessible
STATUScurrentDESCRIPTION"cspanVsanFilterOpTable is used to configure
VSAN filters for SPAN sessions.
cspanVsanFilterSessIndex denotes the session index of
this sesion.
cspanVsanFilterVsans denotes the VSANs in a bit mask fashion
for each session.
"::={ cspanConfiguration 7}cspanVsanFilterOpEntry OBJECT-TYPESYNTAX CspanVsanFilterOpEntry
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"An entry in the VsanFilterOp Table. "INDEX{ cspanVsanFilterOpSessIndex }::={ cspanVsanFilterOpTable 1}
CspanVsanFilterOpEntry ::=SEQUENCE{
cspanVsanFilterOpSessIndex SessionIndex,
cspanVsanFilterOpCommand INTEGER,
cspanVsanFilterOpVsans2k FcList,
cspanVsanFilterOpVsans4k FcList
}cspanVsanFilterOpSessIndex OBJECT-TYPESYNTAX SessionIndex
MAX-ACCESSnot-accessibleSTATUScurrentDESCRIPTION"A session index associated with a session. "::={ cspanVsanFilterOpEntry 1}cspanVsanFilterOpCommand OBJECT-TYPESYNTAXINTEGER
{add(1),remove(2),none(3)}MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The command to be executed for this entry."::={ cspanVsanFilterOpEntry 2}cspanVsanFilterOpVsans2k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION
"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 1 through 8, the second octet specifying VSAN 9
through 16, etc. Within each octet, the most significant
bit represents the lowest numbered VSAN id and the least
significant bit represents the highest numbered VSAN id.
Thus each VSAN is represented by a single bit within the
value of this object. If that bit has value '1' then
that VSAN is included in the set of VSANs; the VSAN is
not included if its bit has a value of '0'."::={ cspanVsanFilterOpEntry 3}cspanVsanFilterOpVsans4k OBJECT-TYPESYNTAX FcList
MAX-ACCESSread-writeSTATUScurrentDESCRIPTION"The VSANs that are assigned to this session.
Each octet within the value of this object specifies
a set of eight VSANS with the first octet specifying
VSAN 2048 through 2055, the second octet specifying VSAN
2056 through 2063, etc. In each octet, the most significant
bit represents the lowest numbered VSAN id and the least
significant bit represents the highest numbered VSAN id.
Thus each VSAN is represented by a single bit within the
value of this object. If that bit has value '1' then
that VSAN is included in the set of VSANs; the VSAN is
not included if its bit has a value of '0'."::={ cspanVsanFilterOpEntry 4}-- ConformanceciscoFcSpanMIBConformance
OBJECTIDENTIFIER::={ ciscoFcSpanMIB 2}ciscoFcSpanMIBCompliances
OBJECTIDENTIFIER::={ ciscoFcSpanMIBConformance 1}
ciscoFcSpanMIBGroups
OBJECTIDENTIFIER::={ ciscoFcSpanMIBConformance 2}ciscoFcSpanMIBCompliance MODULE-COMPLIANCESTATUScurrentDESCRIPTION"The compliance statement for entities which
implement the CISCO-FC-SPAN-MIB."MODULEMANDATORY-GROUPS{
cspanScalarsGroup,
cspanSessionsGroup,
cspanSourceIfGroup,
cspanSourceVsanGroup,
cspanSourceVsanCfgGroup,
cspanVsanFilterGroup,
cspanVsanFilterOpGroup
}OBJECT cspanSessionRowStatus
SYNTAXINTEGER{
active(1),
createAndGo(4),
destroy(6)}DESCRIPTION"Only 'createAndGo', 'destroy' and 'active' need to
be supported."::={ ciscoFcSpanMIBCompliances 1}-- Units of ConformancecspanScalarsGroup OBJECT-GROUPOBJECTS{
cspanMaxSessions
}STATUScurrentDESCRIPTION"A collection of scalar objects in this MIB."::={ ciscoFcSpanMIBGroups 1}
cspanSessionsGroup OBJECT-GROUPOBJECTS{
cspanSessionDestIfIndex,
cspanSessionAdminStatus,
cspanSessionOperStatus,
cspanSessionInactiveReason,
cspanSessionRowStatus
}STATUScurrentDESCRIPTION"A collection of objects for sessions configuration."::={ ciscoFcSpanMIBGroups 2}cspanSourceIfGroup OBJECT-GROUPOBJECTS{
cspanSourcesRowStatus
}STATUScurrentDESCRIPTION"A collection of objects for source interface
configuration."::={ ciscoFcSpanMIBGroups 3}cspanSourceVsanGroup OBJECT-GROUPOBJECTS{
cspanSourcesVsans2k,
cspanSourcesVsans4k
}STATUScurrentDESCRIPTION"A collection of objects for source VSANs display."::={ ciscoFcSpanMIBGroups 4}cspanSourceVsanCfgGroup OBJECT-GROUPOBJECTS{
cspanSourcesVsanCfgCommand,
cspanSourcesVsanCfgVsans2k,
cspanSourcesVsanCfgVsans4k
}STATUScurrent
DESCRIPTION"A collection of objects for source VSANs
configuration."::={ ciscoFcSpanMIBGroups 5}cspanVsanFilterGroup OBJECT-GROUPOBJECTS{
cspanSourcesVsanCfgVsans2k,
cspanVsanFilterVsans2k,
cspanVsanFilterVsans4k
}STATUScurrentDESCRIPTION"A collection of objects for filter display
information."::={ ciscoFcSpanMIBGroups 6}cspanVsanFilterOpGroup OBJECT-GROUPOBJECTS{
cspanVsanFilterOpCommand,
cspanVsanFilterOpVsans2k,
cspanVsanFilterOpVsans4k
}STATUScurrentDESCRIPTION"A collection of objects for filter operations."::={ ciscoFcSpanMIBGroups 7}END